<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class RadishPHP</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> RadishPHP</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">RadishPHP framework launcher.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Lei Lee</li>
				<li><span class="field">version:</span> 1.0</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_RadishPHP.php.html">/RadishPHP.php</a> (line <span class="field">11</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																							
				<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">RadishPHP</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#defaultErrorHandler" title="details" class="method-name">defaultErrorHandler</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$err_no</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$err_str</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$err_file</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$err_line</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$err_ctx</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#defaultExceptionHandler" title="details" class="method-name">defaultExceptionHandler</a>
											(<span class="var-type">Exception</span>&nbsp;<span class="var-name">$exception</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#deslashes" title="details" class="method-name">deslashes</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$data</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$data</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#dispatcher" title="details" class="method-name">dispatcher</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getControllerDir" title="details" class="method-name">getControllerDir</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setCacheDir" title="details" class="method-name">setCacheDir</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_dir</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setControllerDir" title="details" class="method-name">setControllerDir</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$controller_dir</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setDbParams" title="details" class="method-name">setDbParams</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$dbParams</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$dbParams</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setErrorHandler" title="details" class="method-name">setErrorHandler</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$error_handler</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setExceptionHandler" title="details" class="method-name">setExceptionHandler</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$exception_handler</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setShutdownHanlder" title="details" class="method-name">setShutdownHanlder</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$shutdown_handler</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setTemplateDir" title="details" class="method-name">setTemplateDir</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$template_dir</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setTemplateScopeVar" title="details" class="method-name">setTemplateScopeVar</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$var</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$var</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
										<a href="#setTimeZone" title="details" class="method-name">setTimeZone</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$time_zone</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">93</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor.</p>
	
	<div class="method-signature">
		<span class="method-result">RadishPHP</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddefaultErrorHandler" id="defaultErrorHandler"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">defaultErrorHandler</span> (line <span class="line-number">226</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The default error handler.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			defaultErrorHandler
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$err_no</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$err_str</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$err_file</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$err_line</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$err_ctx</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$err_no</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$err_str</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$err_file</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$err_line</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$err_ctx</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddefaultExceptionHandler" id="defaultExceptionHandler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">defaultExceptionHandler</span> (line <span class="line-number">235</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The default exception handler.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			defaultExceptionHandler
		</span>
					(<span class="var-type">Exception</span>&nbsp;<span class="var-name">$exception</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Exception</span>
				<span class="var-name">$exception</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeslashes" id="deslashes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deslashes</span> (line <span class="line-number">203</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Filter out the string escape character.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			deslashes
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$data</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$data</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$data</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$data</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddispatcher" id="dispatcher"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">dispatcher</span> (line <span class="line-number">101</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Request dispatcher.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dispatcher
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetControllerDir" id="getControllerDir"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getControllerDir</span> (line <span class="line-number">378</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the controller stored directory.</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getControllerDir
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetCacheDir" id="setCacheDir"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setCacheDir</span> (line <span class="line-number">344</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the cache directory.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setCacheDir
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_dir</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_dir</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetControllerDir" id="setControllerDir"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setControllerDir</span> (line <span class="line-number">333</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the controller stored directory.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setControllerDir
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$controller_dir</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$controller_dir</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetDbParams" id="setDbParams"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setDbParams</span> (line <span class="line-number">278</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the database connection parameters.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setDbParams
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$dbParams</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$dbParams</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$dbParams</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$dbParams</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetErrorHandler" id="setErrorHandler"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setErrorHandler</span> (line <span class="line-number">300</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the error handling function.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setErrorHandler
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$error_handler</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$error_handler</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetExceptionHandler" id="setExceptionHandler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setExceptionHandler</span> (line <span class="line-number">289</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the global exception handler.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setExceptionHandler
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$exception_handler</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$exception_handler</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetShutdownHanlder" id="setShutdownHanlder"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setShutdownHanlder</span> (line <span class="line-number">311</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set Shutdown event callback function.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setShutdownHanlder
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$shutdown_handler</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$shutdown_handler</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTemplateDir" id="setTemplateDir"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTemplateDir</span> (line <span class="line-number">322</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the template files directory.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setTemplateDir
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$template_dir</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$template_dir</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTemplateScopeVar" id="setTemplateScopeVar"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTemplateScopeVar</span> (line <span class="line-number">367</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the template scope variables.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setTemplateScopeVar
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$var</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$var</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$var_name</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$var</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$var</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTimeZone" id="setTimeZone"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTimeZone</span> (line <span class="line-number">355</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the time zone.</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../RadishPHP/RadishPHP.html">RadishPHP</a></span>
		<span class="method-name">
			setTimeZone
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$time_zone</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$time_zone</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Mon, 30 May 2011 15:07:25 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>